home *** CD-ROM | disk | FTP | other *** search
- /*
- grpstr.c
- */
-
- #include <ryosuke.h>
-
- extern char *EGB_work;
-
- void grp_putstr(int x, int y, char *str, int col )
- /* char *str; シフト JIS 文字列(100バイト以内) */
- {
- char parabuf[110];
- EGB_color(EGB_work, 0, col);
- * (short*) ( parabuf ) = x;
- * (short*) ( parabuf + 2 ) = y + 15;
- * (short*) ( parabuf + 4 ) = strlen( str );
- strcpy( parabuf+6, str );
- EGB_sjisString( EGB_work, parabuf );
- }
-
- /* end of grpstr.c */
-